//
//  RVMyOrderFooter.swift
//  AirTravel
//
//  Created by 许必成 on 2021/11/27.
//

import UIKit

class RVMyOrderFooter: UIView {

    @IBOutlet weak var coverView: UIView!
    
    @IBOutlet weak var countLabel: UILabel!
    
    @IBOutlet weak var priceLabel: UILabel!
    
    @IBOutlet weak var cancelBtn: UIButton!
    
    @IBOutlet weak var payBtn: UIButton!
    
    @IBOutlet weak var detailBtn: UIButton!
    
    
    override func awakeFromNib() {
        
        cancelBtn.layer.borderWidth = 1
        cancelBtn.layer.borderColor = UIColor(hexString: "#D6D6D6").cgColor
        payBtn.layer.borderWidth = 1
        payBtn.layer.borderColor = UIColor(hexString: "#D6D6D6").cgColor
        detailBtn.layer.borderWidth = 1
        detailBtn.layer.borderColor = UIColor(hexString: "#D6D6D6").cgColor
        
        DispatchQueue.main.asyncAfter(deadline: .now()+0.5) {
            self.coverView.addCorner(conrners: [.bottomLeft, .bottomRight], radius: 10)
        }
    }
    
    
    @IBAction func clickCancelBtn(_ sender: UIButton) {
    }
    
    
    @IBAction func clickPayBtn(_ sender: UIButton) {
    }
    
    @IBAction func clickDetailBtn(_ sender: UIButton) {
    }
}
